const defaultRouters = [
  {
    path: '/',
    component: () => import(/* webpackChunkName: "layout" */ '../views/layout/index.vue'),
    children: [
      {
        path: '',
        name: 'myApp',
        component: () => import(/* webpackChunkName: "myApp" */ '../views/myApp/index.vue'),
        meta: {
          title: '我的应用'
        }
      }
    ]
  },
  {
    path: '/internalServerError',
    name: 'internalServerError',
    component: () => import(/* webpackChunkName: "internalServerError" */ '../views/errorPage/500.vue'),
    meta: {
      title: 'internalServerError'
    }
  },
  {
    path: '*',
    name: 'notFound',
    component: () => import(/* webpackChunkName: "notFound" */ '../views/errorPage/404.vue'),
    meta: {
      title: 'notFound'
    }
  }
];

export default defaultRouters;
